package com.gm.springboot.service;

import com.gm.springboot.bean.Major;

import java.util.List;

/**
 * @Author Administrator
 * @Date 2020/7/2 17:24
 **/
public interface MajorService {
    List<Major> findMajorAll(Integer page, Integer size);

    int delMajor(Integer mid);

    int addMajor(Major major);

    Major findMajorById(Integer mid);

    int updMajor(Major major);
}
